package cn.scxy.bookcity.pojo.vo;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
@Data
public class GoodsListItemVO {
    private String author;
    private String url;
    private Integer sort;
    private Integer id;

    private String packName;
    private String pressName;
    private String categoryName;
    private String categoryId;
    /**
     * 商品名称
     */
    private String name;
    /**
     * 价格
     */
    private Object money;
    /**
     * 上架/下架
     */
    private Integer state;
    /**
     * 出版社id
     */
    private Integer pressId;
    /**
     * 上架时间
     */
    @DateTimeFormat(pattern = "yyyy-mm-dd HH:mm:ss")
    private Date createTime;
    /**
     * 出版时间
     */
    private String houseTime;
    /**
     * 销量
     */
    private Integer nums;
    /**
     * 包装类型id
     */
    private String packId;
    /**
     * 关键词
     */
    private String describe;
    /**
     * 库存
     */
    private String num;

}
